<h3>Character Traits</h3>
<% if character_traits && character_traits.size > 0 %>
<table>
	<% for ct in character_traits 
	trait = Trait.find(ct.trait_id)
	%>
	<tr id="<%= dom_id(trait) %>">
		<td>
			<%= link_to trait.name %>
		</td>
		<td>
			<ul><%= list_trait_effects trait %></ul>
		</td>
		<% if is_admin? %>
		<td>
			<%= link_to_remote 'delete', 
			      :url => character_trait_url(ct), 
			      :confirm => 'Are you sure?', 
			      :method => :delete %>
		</td>
		<% end %>
	</tr>
	<% end -%>
</table>
<% else %>
<p>None</p>
<% end %>